package com.baseweb.webadmin.core.constants;

import java.util.ArrayList;
import java.util.List;

public enum WorkType {
    ALL(999,"不限"), CE_HUA(1,"婚礼策划统筹"), ZHU_CHI(5,"婚礼主持"), PAI_SHE(6,"摄影/摄像"), HUA_ZHUANG(7,"化妆造型");

    private int code;
    private String name;
    WorkType(int code, String name){
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public String getName() {
        return name;
    }

    public static List<WorkType> getAllData(){
        List<WorkType> result = new ArrayList<WorkType>();
        for (WorkType current : WorkType.values())
        {
            result.add(current);
        }
        return result;
    }

//    public static void main(String[] args) {
//        for(ChannelType c : getAllChannel()){
//            System.out.print(c.getName());
//        }
//    }
}
